package org.iartisan.maven.plugin.jdbc;

import org.iartisan.maven.plugin.exception.DBParseException;
import org.iartisan.maven.plugin.jdbc.bean.TableColumn;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * table 解析接口
 *
 * @author King
 * @since 2017/8/30
 */
public interface TableHandler {

    List<String> getTables(String[] tableNames) throws SQLException, DBParseException;


    List<TableColumn> getTableFields(String tableName) throws SQLException;
}
